package main

import "fmt"

type Nano struct {
	name string
	ssr  int
}

//结构体作为函数参数
func jiegouti(a Nano) {
	//a=Nano{"小青",19}
	a.ssr = 18
	fmt.Println(a)
}
func main() {
	//值传递
	a := Nano{"sss", 10}
	jiegouti(a)

}
